package albert3d;

import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JProgressBar;

public class Logo extends JDialog {

	JLabel background = new JLabel(new ImageIcon("./gfx/logo.png"));
	JProgressBar progressBar = new JProgressBar();

	public Logo() {
		background.setBounds(0, 0, 320, 200);
		setSize(320, 200);
		setAlwaysOnTop(true);
		setUndecorated(true);
		setResizable(false);
		setLayout(null);
		setLocationRelativeTo(this);
		
		//JLabel statusbar = new JLabel(new ImageIcon("statusbar.gif"));
		//statusbar.setBounds(10, 180, 300, 5);
		//add(statusbar);

		progressBar.setBounds(10, 180, 300, 10);
		progressBar.setIndeterminate(true);	
		add(progressBar);
		
		add(background);
	}

}
